const nav = ['/pages/index/index', '/pages/category/category', '/pages/car/car', '/pages/me/me']

function redirectTo(index) {
  wx.reLaunch({
    url: nav[index]
  })
}

module.exports = {
  redirectTo
}